home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.19981211-19990422 / 000103_news@newsmaster….columbia.edu _Thu Jan 7 11:46:54 1999.msg < prev    next >
Internet Message Format  |  2020-01-01  |  3KB

  1. Return-Path: <news@newsmaster.cc.columbia.edu>
  2. Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.35.30])
  3.     by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id LAA24977
  4.     for <kermit.misc@watsun.cc.columbia.edu>; Thu, 7 Jan 1999 11:46:54 -0500 (EST)
  5. Received: (from news@localhost)
  6.     by newsmaster.cc.columbia.edu (8.8.5/8.8.5) id LAA17719
  7.     for kermit.misc@watsun; Thu, 7 Jan 1999 11:46:53 -0500 (EST)
  8. Path: newsmaster.cc.columbia.edu!watsun.cc.columbia.edu!fdc
  9. From: fdc@watsun.cc.columbia.edu (Frank da Cruz)
  10. Newsgroups: comp.protocols.kermit.misc
  11. Subject: Re: Scripting suggestions?
  12. Date: 7 Jan 1999 16:46:52 GMT
  13. Organization: Columbia University
  14. Lines: 53
  15. Message-ID: <772ods$nur$1@apakabar.cc.columbia.edu>
  16. NNTP-Posting-Host: watsun.cc.columbia.edu
  17. Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:9733
  18.  
  19.  
  20. The following mail is posted here since the user's site, AFCC.COM,
  21. does not accept mail:
  22.  
  23.     Unable to deliver the message due to a communications failure
  24.     MSEXCH:IMS:AFCC:CORE:Z1111141 0 (00120339) Too Many Hops
  25.  
  26. Mail to the postmaster bounces in the same way.  We do our best to reply
  27. to all mail, but in this case it does not appear to be possible.
  28.  
  29. Date: Thu, 7 Jan 99 11:26:37 EST
  30. From: Kermit Software Support <kermit-support@columbia.edu>
  31. To: "Swindle, Denny" <Denny_Swindle@AFCC.com>
  32. Subject: Re: Scripting Suggestions?
  33. In-Reply-To: Your message of Thu, 7 Jan 1999 10:17:47 -0600
  34. Cc: kermit-support@columbia.edu
  35. Reply-To: kermit-support@columbia.edu
  36.  
  37. > I have several automated scripts that get executed each morning.  (These
  38. > scripts were written by another gentleman that is no longer with our
  39. > company.  This project was given to me...so I am trying to learn Kermit.)
  40. > These scripts are a combination of input and output commands.  Each script
  41. > connects to a bank, waits (inputs) for certain bank prompts, and then
  42. > outputs the appropriate response.  Some scripts can be rather large.
  43. > Sometimes, it is necessary for us to change our password that we use with
  44. > the bank, but we can only do this while connected with the bank.  So I have
  45. > a "manual" script that puts the user in "connect" mode with the bank.  The
  46. > user must type in each response to each prompt that is sent.  However, some
  47. > of our scripts can be rather long and laborious.  Is there a not a way that
  48. > I can "take" a script...and then at the appropriate time, the user could
  49. > somehow "control-break" into the take process....type out the new
  50. > password...and then hit enter or something and the take process could
  51. > continue after the step where it was orignally broken?  I am really new to
  52. > kermit...so I am really trying to learn!
  53. > We use C-Kermit 6.0.192 for HP-UX 10.00.  I have enclosed a sample script.
  54. > As in the sample.txt file, would it be possible when I receive the "DATE >"
  55. > prompt to break into the script, type out the date I want, and then resume
  56. > the take process at the "pause 2" command right after the output \13?
  57. Something like this should work:
  58.  
  59.   echo Press any key within 10 seconds to enter CONNECT mode at this point...
  60.   pause 10
  61.   if fail connect
  62.   echo Proceeding with script...
  63.  
  64. PAUSE fails if a key is pressed during the pause interval, otherwise it
  65. succeeds.
  66.  
  67. - Frank
  68.